package com.dao;

import com.entry.Employee_info;
import com.util.PageModel;

public interface Employee_infoDao {
    int add(Employee_info employee_info);       //添加个人信息

    PageModel<Employee_info> findByOne(int pageSize, int pageNo, String username);     //模糊查询

    PageModel<Employee_info> findAll(int pageSize, int pageNo);         //查询全部

    int delete(String username);                //删除记录

    int update(Employee_info e);                 //更新员工信息

    Employee_info findUser(String username);    //查询一条记录
}
